package com.chagee.channel.api.bo.lark;

import com.alibaba.fastjson.annotation.JSONField;
import java.io.Serializable;
import javax.validation.constraints.NotBlank;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author: chang.jiawei
 * @date: 2024/01/16
 */
@Data
@Accessors(chain = true)
public class RevokeApprovalBO implements Serializable {

    private static final long serialVersionUID = -4219032237512345599L;
    @NotBlank(message = "approvalCode不能为空")
    @JSONField(name = "approval_code")
    private String approvalCode;

    @NotBlank(message = "instanceCode不能为空")
    @JSONField(name = "instance_code")
    private String instanceCode;

    @NotBlank(message = "userId不能为空")
    @JSONField(name = "user_id")
    private String userId;
}
